.class Lcom/waiqin365/lightapp/visit/eb;
.super Ljava/lang/Object;

# interfaces
.implements Lcom/waiqin365/lightapp/visit/b/ax;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/visit/eb;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Lcom/waiqin365/lightapp/visit/b/bd;)V
    .locals 11

    const/4 v4, 0x0

    const-wide/16 v6, 0x0

    const/4 v10, 0x1

    const/4 v9, 0x0

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/eb;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;->a:Lcom/waiqin365/compons/c/f;

    if-eqz v0, :cond_0

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iget-object v0, p1, Lcom/waiqin365/lightapp/visit/b/bd;->o:Ljava/lang/String;

    const/16 v2, 0x2c

    invoke-static {v0, v2, v1}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;CLjava/util/ArrayList;)V

    invoke-virtual {v1}, Ljava/util/ArrayList;->size()I

    move-result v0

    const/4 v2, 0x2

    if-ne v0, v2, :cond_0

    invoke-virtual {v1, v9}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;F)F

    move-result v0

    float-to-double v2, v0

    invoke-virtual {v1, v10}, Ljava/util/ArrayList;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Ljava/lang/String;

    invoke-static {v0, v4}, Lcom/fiberhome/gaea/client/d/k;->a(Ljava/lang/String;F)F

    move-result v0

    float-to-double v0, v0

    cmpl-double v4, v2, v6

    if-lez v4, :cond_0

    cmpl-double v4, v0, v6

    if-lez v4, :cond_0

    iget-object v4, p0, Lcom/waiqin365/lightapp/visit/eb;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    iget-object v4, v4, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;->a:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v4}, Lcom/waiqin365/compons/c/f;->b()D

    move-result-wide v4

    iget-object v6, p0, Lcom/waiqin365/lightapp/visit/eb;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    iget-object v6, v6, Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;->a:Lcom/waiqin365/compons/c/f;

    invoke-virtual {v6}, Lcom/waiqin365/compons/c/f;->c()D

    move-result-wide v6

    sget v8, Lcom/waiqin365/compons/c/f;->d:I

    invoke-static {v4, v5, v6, v7, v8}, Lcom/waiqin365/compons/c/m;->a(DDI)[D

    move-result-object v4

    sget v5, Lcom/waiqin365/compons/c/f;->d:I

    invoke-static {v2, v3, v0, v1, v5}, Lcom/waiqin365/compons/c/m;->a(DDI)[D

    move-result-object v0

    new-instance v1, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v2, v4, v9

    aget-wide v4, v4, v10

    invoke-direct {v1, v2, v3, v4, v5}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    new-instance v2, Lcom/baidu/mapapi/model/LatLng;

    aget-wide v4, v0, v9

    aget-wide v6, v0, v10

    invoke-direct {v2, v4, v5, v6, v7}, Lcom/baidu/mapapi/model/LatLng;-><init>(DD)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/visit/eb;->a:Lcom/waiqin365/lightapp/visit/SeniorVisitPlanMapActivity;

    invoke-static {v1, v2, v0}, Lcom/waiqin365/compons/c/m;->a(Lcom/baidu/mapapi/model/LatLng;Lcom/baidu/mapapi/model/LatLng;Landroid/content/Context;)V

    :cond_0
    return-void
.end method
